Don't always print an error on test failures
authorAlex Crichton <alex@alexcrichton.com>
Mon, 11 Aug 2014 04:48:43 +0000 (21:48 -0700)
committerAlex Crichton <alex@alexcrichton.com>
Mon, 11 Aug 2014 04:49:46 +0000 (21:49 -0700)
commit6cbe94755387cc1943b1832533532f844ba4a5c1
tree26677f2b023cc39e1c7852f573d1ca111dce833e
parentb97ba988216474218bf256b4e89d21e42d295fdd
Don't always print an error on test failures

Only print a failure if the command didn't have an exit status. Also, clarify
the failure message in the case that an exit was detected but it was not a
successful status.

Closes #350
src/bin/cargo-test.rs
src/cargo/util/process_builder.rs
tests/test_cargo_compile.rs
tests/test_cargo_test.rs